-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: anonymous props that's not moved to sensitive props #12931
base: main
Are you sure you want to change the base?
Conversation
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
Bitrise❌❌❌ Commit hash: 62a620d Note
Tip
|
Bitrise❌❌❌ Commit hash: f3d58b6 Note
Tip
|
Quality Gate passedIssues Measures |
Description
Add a legacy compatible process in the addProperties function to handle the object props that contains a
anonymous: true
and move them to sensitiveProperties instead.It was planned that code would use addSensistive properties, but sometimes, we get some mixed props from places like a getAnalyticsParams function that returns a lot props and passes them along far before the event is built.
It would require a too big refactoring to split these props at the source.
I decided to add a new processing in the addProperties directly to filter anonymous props passed as normal props and redirect them.
Even if this new additional processing is executed for all the addProperties calls, it is not adding enough processing time to negatively impact performances.
Related issues
Fixes #12728
Manual testing steps
Approval Started
event propsnumber_tokens_requested
Screenshots/Recordings
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist